#include <stdio.h>
#include <string.h>

#include "zcap.h"

static void helpinfo()
{
    ZCAP_LOGPD("Usages:\n");
    ZCAP_LOGPD("./zcap -f <config file> cmd\n");
    ZCAP_LOGPD("\n");
}

int main(int argc,char **argv)
{
    if(argc<4){
        helpinfo();
        return -1;
    }
    if(!strcmp(argv[1],"-f")){
        zcapf(argv[2],argv[3],&argv[3]);
    }
    else{
        helpinfo();
        return -1;
    }

    return 0;
}
